package com.rabbiter.oes.serviceimpl;

import com.rabbiter.oes.entity.Face;
import com.rabbiter.oes.mapper.FaceMapper;
import com.rabbiter.oes.service.FaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FaceServiceImpl implements FaceService {

    @Autowired
    private FaceMapper faceMapper;

    @Override
    public List<Face> query() {
        return faceMapper.query();
    }

    @Override
    public Boolean update(Face face) {
        return faceMapper.update(face);
    }
}
